/*
 * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
 * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
 */

package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.components.subtyping;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.kotlin.analysis.api.fe10.test.configurator.AnalysisApiFe10TestConfiguratorFactory;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestConfiguratorFactoryData;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestConfigurator;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.FrontendKind;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisSessionMode;
import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiMode;
import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.subtyping.AbstractTypeEqualityTest;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.jupiter.api.Test;

import java.io.File;
import java.util.regex.Pattern;

/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality")
@TestDataPath("$PROJECT_ROOT")
public class Fe10IdeNormalAnalysisSourceModuleTypeEqualityTestGenerated extends AbstractTypeEqualityTest {
  @NotNull
  @Override
  public AnalysisApiTestConfigurator getConfigurator() {
    return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
      new AnalysisApiTestConfiguratorFactoryData(
        FrontendKind.Fe10,
        TestModuleKind.Source,
        AnalysisSessionMode.Normal,
        AnalysisApiMode.Ide
      )
    );
  }

  @Test
  public void testAllFilesPresentInSubtypingAndEquality() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality"), Pattern.compile("^(.+)\\.kt$"), null, true);
  }

  @Test
  @TestMetadata("AnimalHuman.kt")
  public void testAnimalHuman() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/AnimalHuman.kt");
  }

  @Test
  @TestMetadata("AnimalHumanError.kt")
  public void testAnimalHumanError() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/AnimalHumanError.kt");
  }

  @Test
  @TestMetadata("AnimalHumanList.kt")
  public void testAnimalHumanList() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/AnimalHumanList.kt");
  }

  @Test
  @TestMetadata("AnimalHumanListError.kt")
  public void testAnimalHumanListError() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/AnimalHumanListError.kt");
  }

  @Test
  @TestMetadata("HumanAnimal.kt")
  public void testHumanAnimal() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanAnimal.kt");
  }

  @Test
  @TestMetadata("HumanAnimalError.kt")
  public void testHumanAnimalError() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanAnimalError.kt");
  }

  @Test
  @TestMetadata("HumanAnimalList.kt")
  public void testHumanAnimalList() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanAnimalList.kt");
  }

  @Test
  @TestMetadata("HumanAnimalListError.kt")
  public void testHumanAnimalListError() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanAnimalListError.kt");
  }

  @Test
  @TestMetadata("HumanHuman.kt")
  public void testHumanHuman() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanHuman.kt");
  }

  @Test
  @TestMetadata("HumanHumanError.kt")
  public void testHumanHumanError() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanHumanError.kt");
  }

  @Test
  @TestMetadata("HumanHumanList.kt")
  public void testHumanHumanList() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanHumanList.kt");
  }

  @Test
  @TestMetadata("HumanHumanListError.kt")
  public void testHumanHumanListError() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/HumanHumanListError.kt");
  }

  @Test
  @TestMetadata("IntInt.kt")
  public void testIntInt() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/IntInt.kt");
  }

  @Test
  @TestMetadata("IntString.kt")
  public void testIntString() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/IntString.kt");
  }

  @Test
  @TestMetadata("StringBuilderTypeAlias.kt")
  public void testStringBuilderTypeAlias() {
    runTest("analysis/analysis-api/testData/components/subtyping/subtypingAndEquality/StringBuilderTypeAlias.kt");
  }
}
